import { Logo, Zoom, Fullscreen, MapTheme } from "@antv/l7";
export default (scene) => {
  // const logo = new Logo({
  //   // 图片 url
  //   img: "https://gw.alipayobjects.com/mdn/rms_816329/afts/img/A*GRb1TKp4HcMAAAAAAAAAAAAAARQnAQ",
  //   // 跳转地址
  //   href: "https://l7.antv.antgroup.com",
  // });
  // scene.addControl(logo);

  const zoom = new Zoom({
    zoomInTitle: "放大",
    zoomOutTitle: "缩小",
    position: "bottomright",
  });
  scene.addControl(zoom);
  const fullscreen = new Fullscreen({
    btnText: "全屏",
    exitBtnText: "退出全屏",
  });
  scene.addControl(fullscreen);
  const mapTheme = new MapTheme({});
  scene.addControl(mapTheme); 
};
